/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package UI;

import java.awt.Graphics2D;
import java.awt.Point;

/**
 *
 * @author pwarnimo
 */
public class GateNOr extends GateGlobal {
    public static final String value = ">=1";
    public static final int type = 1;
    public static final int Outputs = 1;
    public static final int Inputs = 2;
    public static final boolean Negated = true;
    
    public GateNOr(Point Coords, int ID) {
        super(type, Coords, Outputs, Inputs, Negated, ID);
        this.setGateType(1);
    }
    
    @Override
    public void paintGate(Graphics2D g2) {
        super.paintGate(g2);
        g2.drawString(value, this.Coords.x + (size / 2), this.Coords.y + (size / 2));
    }
}
